﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClientTest
{
    class Program
    {
        static void Main(string[] args)
        {
            ClientControl clientControl = new ClientControl();
            clientControl.Connect("127.0.0.1",12321);
            Console.WriteLine("请输入发送的内容，输入quite 退出连接");
            string message = Console.ReadLine();
            while (message!="quite")
            {
                clientControl.SendMsg(message);
                message = Console.ReadLine();
            }
        }
    }
}
